<div id ="sendMessage" class="modal fade" data-backdrop="static"  tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="display: none;" >
	  <div class="modal-header">
	   <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
	    <h3 id="myModalLabels">发送系统消息</h3>
	 </div>
	  <div class="modal-body">
        <fieldset id="form-set">
          <div class="control-group">
          	<label class="control-label" for="focusedInput">设备：</label>
          	<div class="controls">
          		<a id="pushMessageTarget"></a>
          	</div>
          </div>
          <div class="control-group">
          	<label class="control-label" for="focusedInput">内容：</label>
          	<div class="controls">
          		<textarea rows="4" style="width:90%" id="pushMessageContent"></textarea>
          		<!-- <input type="hidden" id="pushMessageDevice" value={{deviceid}}> -->
          	</div>
          </div>
 			<div class="hr-10"></div>
          <div>
				 <button class="btn btn-primary" data-dismiss="modal" onclick="cleardata()" aria-hidden="true">取 消</button>
	            <button type="submit" class="btn btn-primary" onclick="pushMessage('{{deviceId}}','{{appId}}')">发 送</button>
	          </div>
        </fieldset>
	 </div>
</div>
	
	
	
	
	<div class="modal fade" id="myModal" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"    style="display: none;>
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title">提示:</h4>
        </div>
        <div class="modal-body">
          发送成功!
        </div>
        <div class="modal-footer">
          <button type="button" data-dismiss="modal"  class="btn btn-primary">确定</button>
        </div>
      </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
  </div><!-- /.modal -->